package com.interview.string;

public class ValueOf {
	public static void main(String[] args) {
		char[] data={'a','b','c','d'};
		System.out.println(String.valueOf(10D));
		System.out.println(String.valueOf(3>2));
		System.out.println(String.valueOf(data,1,3));
	}

}
/**
 * 解析：valueOf方法重载了，
 * int,float,double,long,boolean,char
 * char[],char[]-offset-count,object
 * 
 * offset的意思是偏移
 */
